package cn.yh.exam.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.yh.exam.bean.T_role;
import cn.yh.exam.dao.RoleDao;
import cn.yh.exam.service.RoleService;
@Service("roleService")
public class RoleServiceImpl implements RoleService {
	@Autowired
	private RoleDao roleDao;
	public void addRole(T_role role) {
		System.out.println(1);
		roleDao.addRole(role);
		System.out.println(2);
	}

}
